From: Cosimo Cecchi Date: Fri, 15 Feb 2013 17:19:49 +0000 (-0500) Subject: unlockDialog: fix another occurrence of add_watch => add_idle_watch X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4847 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f514160faee6a61b03324db714d5a560aa145f22;p=gnome-shell.git unlockDialog: fix another occurrence of add_watch => add_idle_watch https://bugzilla.gnome.org/show_bug.cgi?id=693909 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b11f1eca3..f1efe5cad 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -229,7 +229,7 @@ const UnlockDialog = new Lang.Class({ Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic'); this._idleMonitor = new GnomeDesktop.IdleMonitor(); - this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape)); + this._idleWatchId = this._idleMonitor.add_idle_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape)); }, _updateSensitivity: function(sensitive) {